projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3194c39
)
testtreelistmodel: Don't use non-standard function
author
Daniel Boles
<dboles.src@gmail.com>
Wed, 24 Oct 2018 18:48:45 +0000
(19:48 +0100)
committer
Daniel Boles
<dboles.src@gmail.com>
Wed, 7 Nov 2018 20:32:55 +0000
(20:32 +0000)
as per
efd3758f6a779041ff552cb4c5163446fd951368
strcasecmp() is not a C
standard thing (not that we bothered including any header for it anyway)
and so this test failed to build on Windows with Microsoft Visual C.
tests/testtreelistmodel.c
patch
|
blob
|
history
diff --git
a/tests/testtreelistmodel.c
b/tests/testtreelistmodel.c
index ad9f0f4c59ef72089ae08b52e6097b4529a2e19f..88f219797bc35ca4aafda08ae66cd1040ff0cfbe 100644
(file)
--- a/
tests/testtreelistmodel.c
+++ b/
tests/testtreelistmodel.c
@@
-131,7
+131,7
@@
compare_files (gconstpointer first,
first_path = g_file_get_path (first_file);
second_path = g_file_get_path (second_file);
- result = strcasecmp (first_path, second_path);
+ result =
g_ascii_
strcasecmp (first_path, second_path);
g_free (first_path);
g_free (second_path);